package org.sidora.strata.actions;

import org.openide.util.HelpCtx;
import org.openide.util.NbBundle;
import org.openide.util.actions.CallableSystemAction;
import org.sidora.strata.Storage;

/**
 * ViewMenu
 * @author Enric Tartera, Juan Manuel Gimeno, Roger Masgoret
 * @version 1.0
 */
public final class ViewMenu extends CallableSystemAction {
    
    public void performAction() {
        Storage.getContextExplorerAction().showEquals();
    }
    
    public String getName() {
        return NbBundle.getMessage(ViewMenu.class, "CTL_ViewMenu");
    }
    
    protected void initialize() {
        super.initialize();
        // see org.openide.util.actions.SystemAction.iconResource() javadoc for more details
        putValue("noIconInMenu", Boolean.TRUE);
    }
    
    public HelpCtx getHelpCtx() {
        return HelpCtx.DEFAULT_HELP;
    }
    
    protected boolean asynchronous() {
        return false;
    }
    
}
